package com.cskaoyan.service;

import org.springframework.stereotype.Service;

/**
 * @author stone
 * @date 2022/07/07 11:22
 */
@Service
public class UserServiceImpl implements UserService {
    @Override
    public void sayHello() {
        System.out.println("hello aop");
        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }

    @Override
    public void sayGoodbye() {
        System.out.println("byebeye");
        try {
            Thread.sleep(2000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
